package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.ConmitData_Bean;
import cn.xfdzx.android.apps.shop.bean.GetJieguoBeen;
import cn.xfdzx.android.apps.shop.bean.Store_informationBean;
import cn.xfdzx.android.apps.shop.contract.InformationContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class InformationModel implements InformationContract.Model {


    @Override
    public Flowable<Store_informationBean> forstate() {
        return RetrofitClient.getInstance().getApi().getState("");
    }

    @Override
    public Flowable<ConmitData_Bean> getConmit(String s) {
        return RetrofitClient.getInstance().getApi().conmitData(s);
    }

    @Override
    public Flowable<GetJieguoBeen> getjieguo() {
        return RetrofitClient.getInstance().getApi().getjieguo();
    }
}
